import request from '@/utils/request'

// 查询陈案处置情况列表
export function listChen(query) {
  return request({
    url: '/supervision/chen/list',
    method: 'get',
    params: query
  })
}

// 查询陈案处置情况详细
export function getChen(id) {
  return request({
    url: '/supervision/chen/' + id,
    method: 'get'
  })
}

// 新增陈案处置情况
export function addChen(data) {
  return request({
    url: '/supervision/chen',
    method: 'post',
    data: data
  })
}

// 修改陈案处置情况
export function updateChen(data) {
  return request({
    url: '/supervision/chen',
    method: 'put',
    data: data
  })
}

// 删除陈案处置情况
export function delChen(id) {
  return request({
    url: '/supervision/chen/' + id,
    method: 'delete'
  })
}
